home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
language
/
pascalii.arc
/
PASCALII.DOC
next >
Wrap
Text File
|
1987-07-04
|
3KB
|
86 lines
Well Here it is. I have fixed the bugs that were reported to me and added
a few features. The addition of these features means that the inf file is
not compatible with version 1. The main features of this version are
Extended Editor flags.
More linkfile space.
Delete file.
Screen saver option.
Version 2.00 of PASCALII includes a very primitive make facility. I Wrote this
in preparation for work on a large project. The format of the file is as
follows.
FLAGS
{Line containing Compiler flags. These are documented later on}
File name
Files that the above file depends on
LINK or COMPILE
END
There are four reserved words FLAGS, LINK, COMPILE and END. these Must be
In Upper case at the begining of the line with no blank spaces after them.
The filenames should have no white space before them or after them on the line.
The filenames should include the full pathname if the files are not in
the same directory that the shell was run from.
The Make Procedure is a simple one pass implementation. The Date of the the
Father File is compared to the dependent files. If any of these files have
a date later than the Father File then the Appropriate action is performed.
The following example should make things more clear.
Assume that PROGRAM.PRG is formed by linking PROGRAM.O INTERACT.O PASGEM
PROGRAM.O Depends on PROGRAM.PAS, MYCONST.PAS, FRED.PAS
INTERACT.O Depends on INTERACT.PAS, MYCONST.PAS, LITTLE.PAS
The Make File would look like this.
FLAGS
/GEM /PAUSE /DEBUG /CHECK
program.o
program.pas
myconst.pas
fred.pas
COMPILE
interact.o
interact.pas
myconst.pas
little.pas
COMPILE
program.prg
program.o
interact.o
pasgem
LINK
END
Notice that for the compile action it is actually the first child file that
is compiled.
If I edit LITTLE.PAS then only one compile is performed and the modules are
linked together.
The order of the make file shold be such that no file depends on a file
which is a Father file later on in the make file.
The flags for the compiler are as follows.
/GEM Compile for GEM
/PAUSE pause after errors
/DEBUG Full debug mode
/CHECK Do range checking
/NOCHECK Do Not check for stack heap collision.
/CLEAR Clear variables.
The absence of a particular flag indicates the negation of the condition.
Enjoy .... John
Bugs..
I can not figure out how to get the shell to grab all the available
memory. Thus this release only grabs 280K from the os. This means that
any program run from the shell gets < 280k. I'm working on it though.
ə